package com.tkjt.pms.modules.common.mapper;

import com.tkjt.pms.calc.common.DepartOwnerInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PMSCommonMapper {
	
    List<Map<String,Object>> getDictItemByDictCode(String code);

    List<Map<String,Object>> getOrgCodeCG();

    List<Map<String,Object>> getAllOrgs();

    List<String> getRoleCodeByParam(Map<String,Object> map);

    List<String> getUserNameByByParam(Map<String,Object> map);

    List<Map<String,Object>> getIndexCodeByParam(Map<String,Object> map);

    List<Map<String,Object>> getIndexValueCodeByParam(Map<String,Object> map);

    int getIndexCodeCountByOrgGroup(Map<String,Object> map);

    List<DepartOwnerInfo> getDepartOwnerByParam(Map<String,Object> map);

    List<DepartOwnerInfo> getMirrorDepartOwnerByParam(Map<String,Object> map);
}
